import React from "react";
import Todo from "./views/todo";
//     排他路由 路由对象 路由管理者 重定向路由      
import { Switch, Route, HashRouter } from "react-router-dom";
class Router extends React.Component {
  render() {
    return (
      <div>
        <HashRouter>
          <Switch>
            <Route path="/" component={Todo}></Route>
          </Switch>
        </HashRouter>
      </div>
    );
  }
}
export default Router;
